package com.njust.RateMyTray_backend.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentVO implements Serializable {
    private Long commentId;
    private Long parentId;
    private String reviewerName;
    @JsonProperty("avatar_url")
    private String avatarUrl;
    private Integer rating;
    private String content;
    private LocalDateTime commentTime;
    private Boolean isOfficialReply;
    @JsonProperty("helpful_count")
    private Integer helpfulCount;
    private List<String> imageUrls;
} 